﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RMCharGen.Tables
{
    internal static class StatisticTables
    {

        //private static int[,] _potentialsTable = new int[,] {{25, 30, 35, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98},{},{},{},{},{},{},{},{},{}, { }};

        private static int DetermineColumn(int statistic)
        {
            int column = 0;

            if (statistic < 26)
            {
                column = 0;
            }
            else if (statistic < 40)
            {
                column = 1;
            }
            else if (statistic < 60)
            {
                column = 2;
            }
            else if (statistic < 75)
            {
                column = 3;
            }
            else if (statistic < 85)
            {
                column = 4;
            }
            else if (statistic < 90)
            {
                column = 5;
            }
            else if (statistic < 95)
            {
                column = 6;
            }
            else if (statistic < 98)
            {
                column = 7;
            }
            else if (statistic < 100)
            {
                column = 8;
            }
            else if (statistic == 100)
            {
                column = 9;
            }
            else
            {
                column = 10;
            }

            return column;
        }

        
        internal static int DeterminePotential(int statisticValue)
        {
            int potential = 0;


            return potential;
        }
    }
}
